package com.haople.sso.web.service;

import com.haople.sso.core.vo.Ticket;

public interface UserTicketService {

	/**
	 * 保存票据
	 * @param userName
	 * @param password
	 * @return 返回保存的票据
	 */
	String saveTicket(String userName) throws Exception;
	
	
	/**
	 * 根据用户可以获取
	 * @param userKey
	 * @return
	 * @throws Exception
	 */
	Ticket getTicket(String userKey)throws Exception;
	
}
